/*
编写 : Hexh
时间 : 2012-9-12 14:48:00
*/
using System;
using System.Collections;
using System.Text;
using HMIS.FrameWork.DomainBase;
using HMIS.FrameWork;

namespace FSBS.Core.Entity
{
	/// <summary>
	///	the entity of FsbsQmStrc
	/// </summary>
	public class FsbsQmStrc : InputItem
	{

		#region Public Properties
			
		/// <summary>
		/// 类型
		/// </summary>
		public virtual string QMInout { get; set; }

		/// <summary>
		/// 出入分类
		/// </summary>
		public virtual string QMType { get; set; }

		/// <summary>
		/// 供应商ID
		/// </summary>
		public virtual string ProviderId { get; set; }

		/// <summary>
		/// 机构ID
		/// </summary>
		public virtual string DepartmentId { get; set; }

		/// <summary>
		/// 经办人
		/// </summary>
		public virtual string OperuserId { get; set; }

		/// <summary>
		/// 复核人
		/// </summary>
		public virtual string CheckuserId { get; set; }

		/// <summary>
		/// 状态
		/// </summary>
		public virtual QMState QMState { get; set; }

		/// <summary>
		/// 入库车辆清单
		/// </summary>
		public virtual Iesi.Collections.Generic.ISet<FsbsQmCrif> Cars { get; set; }
						
		#endregion 
	}

	/// <summary>
	/// 商品车状态
	/// ['0', '待复核'], ['1', '已入库'], ['2', '已出库']
	/// </summary>
	public enum QMState
	{
		[EnumDescription("待复核")]
		Edit = 0,

		[EnumDescription("已入库")]
		StoreIn = 1,

		[EnumDescription("已出库")]
		StoreOut = 2
	}
}
